<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> 
<head> 
<title>Scuola Media E. d'Arborea - Lamarmora </title> 
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> 
<meta name="description" content="Il sito della scuola secondaria superiore di Iglesias, in Sardegna" /> 
<meta name="keywords" content="scuola, iglesias, didattica, insegnamento, docenti" /> 
<link rel="stylesheet" href="andreas08.css" type="text/css" media="screen,projection" /> 
<?php include $_ENV["DOCUMENT_ROOT"]."/js/prototype.php" ?>
<script type="text/javascript" src="/page.js"></script>
</head> 
 
<body> 
<div id="container" > 
 
<div id="header"> 
<h1>Scuola Media E. d'Arborea - Lamarmora</h1> 
<h2>area riservata ai docenti</h2> 
</div> 
<?php include "navigation.php" ?>
<div id="content"> 
<?php setlocale(LC_ALL, "it_IT"); ?>
<h2 style="text-align: center"><?php print "Classe ".$_SESSION['__classe__']->get_anno().$_SESSION['__classe__']->get_sezione()." - ".$_SESSION['__current_year__']->to_string() ?></h2> 
<div class="calendar"><p><?php print strtoupper(strftime("%b", strtotime($tomorrow))) ?><br />&nbsp;<?php print date("d", strtotime($tomorrow)) ?></p></div>
<ul>
	<li style="font-weight: bold; margin-left: 50px; color: #171743">Compiti </li>
<?php 
if($res_tomorrow_hw->num_rows < 1){
?>
	<li style="margin-left: 70px; color: #171743">Nessun compito &egrave; stato ancora assegnato</li>
<?php 
}
else{
	while($hw = $res_tomorrow_hw->fetch_assoc()){
?>
	<li style="margin-left: 70px; color: #171743"><?php print $hw['mat'].":: ".$hw['descrizione'] ?></li>
<?php 
	}
}
?>
	<li style="font-weight: bold; margin-left: 50px; color: #171743">Attivit&agrave; </li>
<?php 
if($res_tomorrow_act->num_rows < 1){
?>
	<li style="margin-left: 70px; color: #171743">Nessuna attivit&agrave; prevista</li>
<?php 
}
else{
	while($act = $res_tomorrow_act->fetch_assoc()){
?>
	<li style="margin-left: 70px; color: #171743"><?php print $act['mat'].":: ".$act['descrizione'] ?></li>
<?php 
	}
}
?>
</ul>
<p class="description" style="margin-bottom: 30px">&nbsp;</p>
<div class="calendar"><p><?php print strtoupper(strftime("%b", strtotime($today))) ?><br />&nbsp;<?php print date("d", strtotime($today)) ?></p></div>
<ul>
	<li style="font-weight: bold; margin-left: 50px; color: #171743">Compiti </li>
<?php 
if($res_today_hw->num_rows < 1){
?>
	<li style="margin-left: 70px; color: #171743">Nessun compito &egrave; stato ancora assegnato</li>
<?php 
}
else{
	while($hw = $res_today_hw->fetch_assoc()){
?>
	<li style="margin-left: 70px; color: #171743"><?php print $hw['mat'].":: ".$hw['descrizione'] ?></li>
<?php 
	}
}
?>
	<li style="font-weight: bold; margin-left: 50px; color: #171743">Attivit&agrave; </li>
<?php 
if($res_today_act->num_rows < 1){
?>
	<li style="margin-left: 70px; color: #171743">Nessuna attivit&agrave; prevista</li>
<?php 
}
else{
	while($act = $res_today_act->fetch_assoc()){
?>
	<li style="margin-left: 70px; color: #171743"><?php print $act['mat'].":: ".$act['descrizione'] ?></li>
<?php 
	}
}
?>
</ul>

<div class="splitcontentleft"> 

<p>&nbsp;</p>
 
</div> 
 
 
</div> 
 
<div id="subcontent"> 
<?php include "smallbox.php" ?>
 
<?php include "class_working.php" ?>

</div> 
 
<?php include "footer.php" ?> 
 
</div> 
</body> 
</html>